﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;

namespace Huasky.Gm.Core;

[Index(nameof(CreatedTime))]
[Index(nameof(UpdatedTime))]
public abstract class BaseEntity: Entity<Guid>
{
    public string ExtJson { get; set; }

    public bool IsDelete { get; set; }

    public void GenId() => Id = Guid.NewGuid();
}
